﻿using App29.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Media;

namespace App29.Models
{
    class ColorInfo : BindableBase
    {
        string _Name = default(string);
        public string Name { get { return _Name; } set { base.SetProperty(ref _Name, value); } }

        Color _Color = default(Color);
        public Color Color { get { return _Color; } set { base.SetProperty(ref _Color, value); } }

        public SolidColorBrush Brush { get { return new SolidColorBrush(this.Color); } }
    }
}
